package cn.test.chap4;

import cn.test.Car;

/**
 * @author oldliu
 * @since 1.0
 */
public class Vw extends Car {
    private String strain;
    public Vw(String strain,String c,String t) {
        super(c,t);
        this.strain = strain;
    }

    public void show(){

        System.out.println("一辆");
        super.show();
        System.out.println("大众牌汽车");
        super.launch();
        super.accelerate();
        super.brake();
    }
}
